<template>
  <view class="error-page">
    <image class="errimg" :src="$getImg('iassCashier/error.png')" alt="宁波银行" mode="widthFix"></image>
    <view class="err-text">
      {{errMsg}}
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        errMsg: ''
      };
    },
    onLoad(options) {
      uni.hideHomeButton()
      uni.clearStorageSync()
      this.errMsg = options.errMsg
    },
  }
</script>

<style lang="scss" scoped>
  .error-page {
    padding-top: 140rpx;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #fff;

    .errimg {
      display: block;
      margin: 0 auto;
      width: 380rpx;
    }

    .err-text {
      padding: 40rpx 30rpx;
      text-align: center;
      word-break: break-all;
      color: #8a8a8a;
      font-size: 32rpx;
      line-height: 42rpx;
    }
  }
</style>